From e71add4fb2cebf4424aaa881af1ee2d1b7a4b412 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timo=20R=C3=B6hling?= Date: Thu, 16 Jun 2022 18:58:49 +0200 Subject: [PATCH] Fix FTBFS with GCC-12 Closes: #1012926 --- .../patches/0016-Fix-FTBFS-with-GCC-12.patch | 20 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 21 insertions(+) create mode 100644 debian/patches/0016-Fix-FTBFS-with-GCC-12.patch diff --git a/debian/patches/0016-Fix-FTBFS-with-GCC-12.patch b/debian/patches/0016-Fix-FTBFS-with-GCC-12.patch new file mode 100644 index 0000000..9ebeb43 --- /dev/null +++ b/debian/patches/0016-Fix-FTBFS-with-GCC-12.patch @@ -0,0 +1,20 @@ +From: =?utf-8?q?Timo_R=C3=B6hling?= +Date: Thu, 16 Jun 2022 18:46:44 +0200 +Subject: Fix FTBFS with GCC-12 + +--- + libs/utils/src/Profiler.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libs/utils/src/Profiler.cpp b/libs/utils/src/Profiler.cpp +index 75caf87..61513b8 100644 +--- a/libs/utils/src/Profiler.cpp ++++ b/libs/utils/src/Profiler.cpp +@@ -27,6 +27,7 @@ + #endif + + #include ++#include + #include + + #if defined(__linux__) diff --git a/debian/patches/series b/debian/patches/series index 5dbb9f8..623bfd4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -13,3 +13,4 @@ 0013-Define-M_PIf-only-if-it-is-not-already-defined-in-ma.patch 0014-Avoid-mips-as-identifier-because-it-fails-on-mips-ar.patch 0015-Ensure-proper-alignment-of-resgen-_OFFSET-and-_SIZE-.patch +0016-Fix-FTBFS-with-GCC-12.patch -- 2.30.2